package com.gaohe.scp.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gaohe.common.annotation.Excel;
import com.gaohe.common.core.domain.BaseEntity;

/**
 * 竞拍记录对象 cs_auction
 * 
 * @author liuxiangyu
 * @date 2025-03-25
 */
public class CsAuction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 竞拍ID */
    private Long auctionId;

    /** 车辆id */
    @Excel(name = "车辆id")
    private Long carId;

    /** 车辆名称 */
    @Excel(name = "车辆名称")
    private String carName;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 展示姓 */
    @Excel(name = "展示姓")
    private String username;

    /** 出价 */
    @Excel(name = "出价")
    private BigDecimal price;

    /** 排名 */
    @Excel(name = "排名")
    private Long sort;

    /** 是否删除 */
    private String delFlag;

    public void setAuctionId(Long auctionId) 
    {
        this.auctionId = auctionId;
    }

    public Long getAuctionId() 
    {
        return auctionId;
    }

    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }

    public void setCarName(String carName) 
    {
        this.carName = carName;
    }

    public String getCarName() 
    {
        return carName;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("auctionId", getAuctionId())
            .append("carId", getCarId())
            .append("carName", getCarName())
            .append("userId", getUserId())
            .append("username", getUsername())
            .append("price", getPrice())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
